<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class PayMethod_Model extends CI_Model{
	protected $_name = "pay_method";
	protected $_primary = "PmId";
	var $NameMethod_vn = "NameMethod_vn", $NameMethod_en = "NameMethod_en", $Status = "Status";
	
	function getAllMethod(){
		$this->db->where($this->Status,1);
		$query = $this->db->get($this->_name);
		return $query->result();
	}
}